package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户控制对象 fh_user
 *
 * @author oy
 * @date 2024-11-07
 */
@ApiModel(value = "FhUserDto", description = "用户注册实体")
public class FhUserDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 验证码 */
    @ApiModelProperty("验证码")
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    /** 主键 */
    private Long id;

    /** 账户名 */
    @ApiModelProperty("账号")
    @Excel(name = "账户名")
    private String account;

    /** 密码 */
    @ApiModelProperty("密码")
    @Excel(name = "密码")
    private String password;

    /** 手机号 */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;

    /** 微信 */
    @Excel(name = "微信")
    private String weixin;

    /** qq */
    @Excel(name = "qq")
    private String qq;

    /** 头像 */
    @Excel(name = "头像")
    private String image;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @ApiModelProperty("性别")
    @Excel(name = "性别")
    private String gender;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String profile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAccount(String account)
    {
        this.account = account;
    }

    public String getAccount()
    {
        return account;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setWeixin(String weixin)
    {
        this.weixin = weixin;
    }

    public String getWeixin()
    {
        return weixin;
    }
    public void setQq(String qq)
    {
        this.qq = qq;
    }

    public String getQq()
    {
        return qq;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setProfile(String profile)
    {
        this.profile = profile;
    }

    public String getProfile()
    {
        return profile;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("account", getAccount())
                .append("password", getPassword())
                .append("phone", getPhone())
                .append("weixin", getWeixin())
                .append("qq", getQq())
                .append("image", getImage())
                .append("name", getName())
                .append("gender", getGender())
                .append("position", getPosition())
                .append("profile", getProfile())
                .append("email", getEmail())
                .append("code",getCode())
                .toString();
    }
}
